package syllabus.service;

import java.util.List;
import syllabus.model.Criteria;
import syllabus.model.PCourse;

public interface PCourseService {
    int countByExample(Criteria example);

    PCourse selectByPrimaryKey(Integer id);

    List<PCourse> selectByExample(Criteria example);

    int deleteByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PCourse record);

    int updateByPrimaryKey(PCourse record);

    int deleteByExample(Criteria example);

    int updateByExampleSelective(PCourse record, Criteria example);

    int updateByExample(PCourse record, Criteria example);

    int insert(PCourse record);

    int insertSelective(PCourse record);
    
    int insertAllIntoSyllabus(Criteria c);
}